//
//  NSTreeNode+WCExtensions.h
//  WabbitCode
//
//  Created by William Towe on 11/9/08.
//  Copyright 2008 Revolution Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface NSTreeNode (WCExtensions)
- (BOOL)isRoot;
- (NSArray *)descendantNodes;
- (NSArray *)descendantGroupNodes;
- (NSArray *)descendantLeafNodes;
- (NSArray *)descendantNodesInclusive;
- (NSArray *)descendantLeafNodesInclusive;
- (BOOL)isDescendantOfNode:(NSTreeNode *)node;
- (BOOL)isParentOfNode:(NSTreeNode *)node;

@end
